package com.xebest.web.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created by xebest on 2017/11/2.
 */
public class WeChatSupplierOrderEntity implements Serializable{
    private static final long serialVersionUID = -4284102426938772325L;
    private String orderId;
    private Integer orderStatus;
    private BigDecimal payAmount;
    private Integer confirmSendNum;
    private BigDecimal epayReceAmt;
    private String caConsignee;
    private String caProvinceId;
    private String caCityId;
    private String caAreaId;
    private String caStreet;
    private String caPhone;
    private String caArea;
    private String orderRemark;
    private String cancelRemark;
    private Integer shipType;
    private Integer payType;
    private Integer payStatus;
    private BigDecimal goodsAmount;
    private BigDecimal cpnsPmtAomount;
    private BigDecimal platPmtAmount;
    private BigDecimal freAmount;
    private BigDecimal differenceAmount;
    private BigDecimal specialDisamount;
    private String createDate;
    private String sendTime;
    private String shipCarDes;
    private List<WeChatSupplierOrderDetailEntity> OrderDetailList;
    
    
    public BigDecimal getSpecialDisamount() {
	
		return specialDisamount;
	}

	public void setSpecialDisamount(BigDecimal specialDisamount) {
	
		this.specialDisamount = specialDisamount;
	}

	public String getSendTime() {
	
		return sendTime;
	}

	public void setSendTime(String sendTime) {
	
		this.sendTime = sendTime;
	}

	public Integer getPayStatus() {
	
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
	
		this.payStatus = payStatus;
	}

	public String getCancelRemark() {
        return cancelRemark;
    }

    public void setCancelRemark(String cancelRemark) {
        this.cancelRemark = cancelRemark;
    }

    public String getShipCarDes() {
        return shipCarDes;
    }

    public void setShipCarDes(String shipCarDes) {
        this.shipCarDes = shipCarDes;
    }

    public String getCaConsignee() {
        return caConsignee;
    }

    public void setCaConsignee(String caConsignee) {
        this.caConsignee = caConsignee;
    }

    public String getCaProvinceId() {
        return caProvinceId;
    }

    public void setCaProvinceId(String caProvinceId) {
        this.caProvinceId = caProvinceId;
    }

    public String getCaCityId() {
        return caCityId;
    }

    public void setCaCityId(String caCityId) {
        this.caCityId = caCityId;
    }

    public String getCaAreaId() {
        return caAreaId;
    }

    public void setCaAreaId(String caAreaId) {
        this.caAreaId = caAreaId;
    }

    public String getCaStreet() {
        return caStreet;
    }

    public void setCaStreet(String caStreet) {
        this.caStreet = caStreet;
    }

    public String getCaPhone() {
        return caPhone;
    }

    public void setCaPhone(String caPhone) {
        this.caPhone = caPhone;
    }

    public String getCaArea() {
        return caArea;
    }

    public void setCaArea(String caArea) {
        this.caArea = caArea;
    }

    public String getOrderRemark() {
        return orderRemark;
    }

    public void setOrderRemark(String orderRemark) {
        this.orderRemark = orderRemark;
    }

    public Integer getShipType() {
        return shipType;
    }

    public void setShipType(Integer shipType) {
        this.shipType = shipType;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public BigDecimal getGoodsAmount() {
    	if (null == goodsAmount) {
    		return new BigDecimal("0");
		} else {
			return goodsAmount;
		}
    }

    public void setGoodsAmount(BigDecimal goodsAmount) {
        this.goodsAmount = goodsAmount;
    }

    public BigDecimal getCpnsPmtAomount() {
    	if (null == cpnsPmtAomount) {
    		return BigDecimal.ZERO;
		} else {
			return cpnsPmtAomount;
		}
    }

    public void setCpnsPmtAomount(BigDecimal cpnsPmtAomount) {
        this.cpnsPmtAomount = cpnsPmtAomount;
    }

    public BigDecimal getPlatPmtAmount() {
        if(platPmtAmount==null){
            return BigDecimal.ZERO;
        }
        return platPmtAmount;
    }

    public void setPlatPmtAmount(BigDecimal platPmtAmount) {
        this.platPmtAmount = platPmtAmount;
    }

    public BigDecimal getFreAmount() {
    	if (null == freAmount) {
    		return new BigDecimal("0");			
		} else {
			return freAmount;
		}
    }

    public void setFreAmount(BigDecimal freAmount) {
        this.freAmount = freAmount;
    }

    public BigDecimal getDifferenceAmount() {
    	if (null == differenceAmount) {
    		return new BigDecimal("0");   		
    	} else {
    		return differenceAmount;
    	}
    }

    public void setDifferenceAmount(BigDecimal differenceAmount) {
        this.differenceAmount = differenceAmount;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public Integer getConfirmSendNum() {
        return confirmSendNum;
    }

    public void setConfirmSendNum(Integer confirmSendNum) {
        this.confirmSendNum = confirmSendNum;
    }

    public BigDecimal getEpayReceAmt() {
    	if (null == epayReceAmt) {
    		return new BigDecimal("0");			 
		} else {
			return epayReceAmt;
		}
    }

    public void setEpayReceAmt(BigDecimal epayReceAmt) {
        this.epayReceAmt = epayReceAmt;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public List<WeChatSupplierOrderDetailEntity> getOrderDetailList() {
        return OrderDetailList;
    }

    public void setOrderDetailList(List<WeChatSupplierOrderDetailEntity> orderDetailList) {
        OrderDetailList = orderDetailList;
    }
}
